package com.gao.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import pojo.Payment;

/**
 * @author 高枫
 */
@Repository
public interface PayMentMapper {
    /**
     * 新增
     * @param payment
     * @return int
     */
    int create(Payment payment);

    /**
     * 通过id获取详细信息
     * @param id
     * @return pojo.Payment
     */
    Payment queryById(@Param("id")long id);

}
